﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductSummary.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Shop.Agent.ProductSummary" %>


<%@ Import Namespace ="ZLCMS.Business.Util" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>
<style type="text/css">
.panelBar .toolBar li.stat{background-position:0 0; padding:0;}
</style>

<%=_framePage.TabInfoHtml()%>


   	<div class="panelBar">
		<ul class="toolBar">
       
		<li class="stat" ><span>总销量：<%=SalesCounter %> 件,总营业额：￥<%=SalesAmount %></span></li>
        </ul>
	</div>
	<div class="tableList"   layoutH="96">
	<table class="list" targetType="navTab">
	<thead>
                <tr>
                    <th width="22px">
                        <input type="checkbox" group="ids" class="checkboxCtrl" />
                    </th>
                    <th width="80px">
                        缩略图
                    </th>
                    <th width="80px">
                    日期
                    </th>
                    <th width="120px">
                        商品编码
                    </th>
                    <th width="120px">
                        SKU编码
                    </th>
                    <th width="140px">
                        商品名称
                    </th>
                    <th width="100px"  align=center>销量
                    </th>
                    <th width="100px"  align=center>销售额
                    </th>
                </tr>
            </thead>
		<tbody >
            <asp:repeater runat="server" id="repeater1">
                <ItemTemplate>
		    <tr target="uid" >
                    <td><input name="ids" value="<%#Eval("ProductNo")%>" type="checkbox"/></td>
				    <td height="80px"><img src="<%# FileKit.FirstImgPathThumb(Eval("ProductImg") as string) %>" alt="商品图片" width="80px" /></td>
				     <td><%# string.Format("{0:yyyy-MM-dd}",Eval("Date"))%></td>
                     <td><%# Eval("ProductNo")%></td>
                     <td><%# Eval("ProductSkuNo")%></td>
				    <td><%# Eval("ProductName")%><%#ZLCMS.Commands.Pub.Util.SkuProductKit.GetSkuItemNames(Eval("SkuParam") as string)%></td>
                    <td align=center><%# Eval("SalesCounter")%></td>
                    <td align=center><%# Eval("SalesAmount")%></td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>
    

	</div>
	
    
    
<%= _framePage.GetPagerContentHtml("navTab", Request["cid"])%>
